@import 'utils/scss_variables.module.scss';

$padding: 30px;

.modal-outer-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(white, 0.8);
    z-index: calc(#{$top-layer-z-index} - 1);

    .modal-inner-wrapper {
        position: absolute;
        top: 40%;
        left: 50%;
        transform: translate(-50%, -50%);
        width: 720px;
        background: white;
        box-shadow: -8px 12px 19px rgba(55, 72, 95, 0.13);
        padding: $padding;
        box-sizing: border-box;
        z-index: $top-layer-z-index;

        .close-button {
            position: absolute;
            top: $padding;
            right: $padding;
        }

        .modal-title {
            font-weight: 350;
            font-size: 26px;
            line-height: 30px;
            font-weight: 200;
            color: $color-main;
        }

        .modal-content {
            margin-top: 30px;
            font-size: 14px;
            line-height: 18px;
            color: $color-grey-black;
        }

        .modal-actions {
            display: flex;
            align-items: center;
            justify-content: flex-end;
            position: absolute;
            right: $padding;
            bottom: $padding;

            button:not(:last-child) {
                margin-right: 10px;
            }
        }
    }
}